<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
	<meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
	<title>后盾问答</title>
	<meta name="keywords" content="后盾问答"/>
	<meta name="description" content="后盾问答"/>
	<link rel="stylesheet" href="{label $smarty.const.__PUBLIC__}/Css/common.css" />
	<link rel="stylesheet" href="{label $smarty.const.__PUBLIC__}/Css/member.css" />
</head>
<body>
	<!-- top -->
	{label include file="../index/header.html"}
<!-- top结束 -->
<!--------------------中部-------------------->
	<div id='center'>
<!-- 左侧 -->
{label include file="../index/left.html"}
<!-- 左侧结束 -->
		<div id='right'>
	
			<p class='title'>我的首页</p>

			<ul class='property'>
				<li>金币：<span>{label $searchUserInfo.point}</span></li>
				<li>经验值：<span>{label $searchUserInfo.exp}</span></li>
				<li>采纳率：<span>{label $probability}</span></li>
			</ul>
			<div class='list'>
				<p><span>我的提问 <b>(共{label $searchUserInfo.ask}条)</b></span><a href="">更多>></a></p>
				<table>
				{label if $searchUserInfo.ask<1}
						<tr height='140'>
							<td>你还没有进行过提问</td>
						</tr>
				{label /if}
				{label if $searchUserInfo.ask>0}
						<tr>
							<th class='t1'>标题</th>
							<th>回答数</th>
							<th class='t3'>更新时间</th>
						</tr>
					{label foreach from= $searchUserAskInfo item = ask}
						<tr>
							<td class='t1'>
								<a href="{label $smarty.const.__APP__}?c=show&cid={label $ask.cid}&asid={label $ask.asid}">{label $ask.content}</a><span>[{label $ask.title}]</span>
							</td>
							<td>{label $ask.answer}</td>
							<td class='t3'>{label $ask.time|date_format:"%Y/%m/%e"}</td>
						</tr>
					{label /foreach}
				{label /if}
				</table>
			</div>
			<div class='list'>
				<p><span>我的回答 <b>(共{label $searchUserInfo.answer}条)</b></span><a href="">更多>></a></p>
				<table>
					{label if $searchUserInfo.answer<1}
					<tr height='140'>
						<td>你还没有进行过回答</td>
					</tr>
					{label /if}
					{label if $searchUserInfo.answer>0}
					<tr>
						<th class='t1'>标题</th>
						<th>回答</th>
						<th class='t3'>更新时间</th>
					</tr>
						{label foreach from= $searchUserAnswerInfo item = answer}
						<tr>
							<td class='t1'>
								<a href="{label $smarty.const.__APP__}?c=show&cid={label $answer.cid}&asid={label $answer.asid}">{label $answer.content}</a><span>[{label $answer.title}]</span>
							</td>
							<td>{label $answer.answer}</td>
							<td class='t3'>{label $answer.time|date_format:"%Y/%m/%e"}</td>
						</tr>
						{label /foreach}
					{label /if}
				</table>
			</div>
		</div>
	</div>
<!--------------------中部结束-------------------->

<!--------------------底部-------------------->
<!-- 底部 -->
	{label include file='../index/footer.html}
</body>
</html>
<!-- 底部结束 -->